package com.team.arms.xitong.entity.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @Author huazige
 * @Date 2022/6/24 16:41
 * @Version 1.0
 */
@Data
@ApiModel("系统管理-用户")
public class UserVo {

    @ApiModelProperty("用户编号")
    private String userId;

    @ApiModelProperty("登录账号")
    private String username;

    @ApiModelProperty("登录密码")
    private String password;

    @ApiModelProperty("用户类型")
    private String usertype;

    @ApiModelProperty("账号状态")
    private String accountStatus;

    @ApiModelProperty("登录ip")
    private String loginIp;

    @ApiModelProperty("登录时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime loginTime;

    @ApiModelProperty("备注")
    private String mark;

    @ApiModelProperty("用户权限编号")
    @ExcelProperty("用户权限编号")
    private String roleId;
}
